package com.paw.portal.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Rubble
 * @date 2021/8/22
 **/
@RestController
public class AnalysisController {


  @GetMapping("/api/fake_analysis_chart_data")
  public Object fakeAnalysisChartData(){
    return "{\"data\":{\"visitData\":[{\"x\":\"2021-08-19\",\"y\":7},{\"x\":\"2021-08-20\",\"y\":5},{\"x\":\"2021-08-21\",\"y\":4},{\"x\":\"2021-08-22\",\"y\":2},{\"x\":\"2021-08-23\",\"y\":4},{\"x\":\"2021-08-24\",\"y\":7},{\"x\":\"2021-08-25\",\"y\":5},{\"x\":\"2021-08-26\",\"y\":6},{\"x\":\"2021-08-27\",\"y\":5},{\"x\":\"2021-08-28\",\"y\":9},{\"x\":\"2021-08-29\",\"y\":6},{\"x\":\"2021-08-30\",\"y\":3},{\"x\":\"2021-08-31\",\"y\":1},{\"x\":\"2021-09-01\",\"y\":5},{\"x\":\"2021-09-02\",\"y\":3},{\"x\":\"2021-09-03\",\"y\":6},{\"x\":\"2021-09-04\",\"y\":5}],\"visitData2\":[{\"x\":\"2021-08-19\",\"y\":1},{\"x\":\"2021-08-20\",\"y\":6},{\"x\":\"2021-08-21\",\"y\":4},{\"x\":\"2021-08-22\",\"y\":8},{\"x\":\"2021-08-23\",\"y\":3},{\"x\":\"2021-08-24\",\"y\":7},{\"x\":\"2021-08-25\",\"y\":2}],\"salesData\":[{\"x\":\"1月\",\"y\":1186},{\"x\":\"2月\",\"y\":912},{\"x\":\"3月\",\"y\":1127},{\"x\":\"4月\",\"y\":509},{\"x\":\"5月\",\"y\":956},{\"x\":\"6月\",\"y\":1131},{\"x\":\"7月\",\"y\":272},{\"x\":\"8月\",\"y\":813},{\"x\":\"9月\",\"y\":277},{\"x\":\"10月\",\"y\":301},{\"x\":\"11月\",\"y\":605},{\"x\":\"12月\",\"y\":724}],\"searchData\":[{\"index\":1,\"keyword\":\"搜索关键词-0\",\"count\":913,\"range\":79,\"status\":0},{\"index\":2,\"keyword\":\"搜索关键词-1\",\"count\":35,\"range\":80,\"status\":1},{\"index\":3,\"keyword\":\"搜索关键词-2\",\"count\":378,\"range\":31,\"status\":0},{\"index\":4,\"keyword\":\"搜索关键词-3\",\"count\":518,\"range\":88,\"status\":0},{\"index\":5,\"keyword\":\"搜索关键词-4\",\"count\":280,\"range\":47,\"status\":1},{\"index\":6,\"keyword\":\"搜索关键词-5\",\"count\":865,\"range\":52,\"status\":0},{\"index\":7,\"keyword\":\"搜索关键词-6\",\"count\":127,\"range\":2,\"status\":0},{\"index\":8,\"keyword\":\"搜索关键词-7\",\"count\":513,\"range\":95,\"status\":1},{\"index\":9,\"keyword\":\"搜索关键词-8\",\"count\":303,\"range\":98,\"status\":1},{\"index\":10,\"keyword\":\"搜索关键词-9\",\"count\":239,\"range\":15,\"status\":0},{\"index\":11,\"keyword\":\"搜索关键词-10\",\"count\":661,\"range\":5,\"status\":0},{\"index\":12,\"keyword\":\"搜索关键词-11\",\"count\":925,\"range\":5,\"status\":1},{\"index\":13,\"keyword\":\"搜索关键词-12\",\"count\":938,\"range\":72,\"status\":1},{\"index\":14,\"keyword\":\"搜索关键词-13\",\"count\":595,\"range\":29,\"status\":1},{\"index\":15,\"keyword\":\"搜索关键词-14\",\"count\":189,\"range\":83,\"status\":1},{\"index\":16,\"keyword\":\"搜索关键词-15\",\"count\":215,\"range\":61,\"status\":1},{\"index\":17,\"keyword\":\"搜索关键词-16\",\"count\":256,\"range\":34,\"status\":0},{\"index\":18,\"keyword\":\"搜索关键词-17\",\"count\":516,\"range\":8,\"status\":0},{\"index\":19,\"keyword\":\"搜索关键词-18\",\"count\":914,\"range\":3,\"status\":1},{\"index\":20,\"keyword\":\"搜索关键词-19\",\"count\":993,\"range\":96,\"status\":0},{\"index\":21,\"keyword\":\"搜索关键词-20\",\"count\":286,\"range\":28,\"status\":0},{\"index\":22,\"keyword\":\"搜索关键词-21\",\"count\":215,\"range\":35,\"status\":0},{\"index\":23,\"keyword\":\"搜索关键词-22\",\"count\":621,\"range\":46,\"status\":0},{\"index\":24,\"keyword\":\"搜索关键词-23\",\"count\":637,\"range\":24,\"status\":1},{\"index\":25,\"keyword\":\"搜索关键词-24\",\"count\":544,\"range\":63,\"status\":1},{\"index\":26,\"keyword\":\"搜索关键词-25\",\"count\":508,\"range\":20,\"status\":0},{\"index\":27,\"keyword\":\"搜索关键词-26\",\"count\":29,\"range\":13,\"status\":0},{\"index\":28,\"keyword\":\"搜索关键词-27\",\"count\":582,\"range\":42,\"status\":0},{\"index\":29,\"keyword\":\"搜索关键词-28\",\"count\":359,\"range\":96,\"status\":1},{\"index\":30,\"keyword\":\"搜索关键词-29\",\"count\":350,\"range\":77,\"status\":1},{\"index\":31,\"keyword\":\"搜索关键词-30\",\"count\":967,\"range\":8,\"status\":1},{\"index\":32,\"keyword\":\"搜索关键词-31\",\"count\":343,\"range\":31,\"status\":0},{\"index\":33,\"keyword\":\"搜索关键词-32\",\"count\":646,\"range\":73,\"status\":1},{\"index\":34,\"keyword\":\"搜索关键词-33\",\"count\":438,\"range\":17,\"status\":0},{\"index\":35,\"keyword\":\"搜索关键词-34\",\"count\":293,\"range\":87,\"status\":0},{\"index\":36,\"keyword\":\"搜索关键词-35\",\"count\":151,\"range\":14,\"status\":0},{\"index\":37,\"keyword\":\"搜索关键词-36\",\"count\":882,\"range\":41,\"status\":1},{\"index\":38,\"keyword\":\"搜索关键词-37\",\"count\":661,\"range\":57,\"status\":1},{\"index\":39,\"keyword\":\"搜索关键词-38\",\"count\":929,\"range\":72,\"status\":0},{\"index\":40,\"keyword\":\"搜索关键词-39\",\"count\":669,\"range\":51,\"status\":1},{\"index\":41,\"keyword\":\"搜索关键词-40\",\"count\":709,\"range\":98,\"status\":0},{\"index\":42,\"keyword\":\"搜索关键词-41\",\"count\":738,\"range\":33,\"status\":0},{\"index\":43,\"keyword\":\"搜索关键词-42\",\"count\":699,\"range\":92,\"status\":0},{\"index\":44,\"keyword\":\"搜索关键词-43\",\"count\":500,\"range\":5,\"status\":1},{\"index\":45,\"keyword\":\"搜索关键词-44\",\"count\":583,\"range\":17,\"status\":0},{\"index\":46,\"keyword\":\"搜索关键词-45\",\"count\":166,\"range\":29,\"status\":1},{\"index\":47,\"keyword\":\"搜索关键词-46\",\"count\":749,\"range\":9,\"status\":0},{\"index\":48,\"keyword\":\"搜索关键词-47\",\"count\":670,\"range\":89,\"status\":1},{\"index\":49,\"keyword\":\"搜索关键词-48\",\"count\":932,\"range\":29,\"status\":1},{\"index\":50,\"keyword\":\"搜索关键词-49\",\"count\":394,\"range\":83,\"status\":1}],\"offlineData\":[{\"name\":\"Stores 0\",\"cvr\":0.2},{\"name\":\"Stores 1\",\"cvr\":0.6},{\"name\":\"Stores 2\",\"cvr\":0.9},{\"name\":\"Stores 3\",\"cvr\":0.2},{\"name\":\"Stores 4\",\"cvr\":0.8},{\"name\":\"Stores 5\",\"cvr\":0.4},{\"name\":\"Stores 6\",\"cvr\":0.1},{\"name\":\"Stores 7\",\"cvr\":0.1},{\"name\":\"Stores 8\",\"cvr\":0.8},{\"name\":\"Stores 9\",\"cvr\":0.7}],\"offlineChartData\":[{\"date\":\"14:31\",\"type\":\"客流量\",\"value\":105},{\"date\":\"14:31\",\"type\":\"支付笔数\",\"value\":87},{\"date\":\"15:01\",\"type\":\"客流量\",\"value\":66},{\"date\":\"15:01\",\"type\":\"支付笔数\",\"value\":12},{\"date\":\"15:31\",\"type\":\"客流量\",\"value\":59},{\"date\":\"15:31\",\"type\":\"支付笔数\",\"value\":13},{\"date\":\"16:01\",\"type\":\"客流量\",\"value\":70},{\"date\":\"16:01\",\"type\":\"支付笔数\",\"value\":28},{\"date\":\"16:31\",\"type\":\"客流量\",\"value\":24},{\"date\":\"16:31\",\"type\":\"支付笔数\",\"value\":46},{\"date\":\"17:01\",\"type\":\"客流量\",\"value\":32},{\"date\":\"17:01\",\"type\":\"支付笔数\",\"value\":35},{\"date\":\"17:31\",\"type\":\"客流量\",\"value\":95},{\"date\":\"17:31\",\"type\":\"支付笔数\",\"value\":72},{\"date\":\"18:01\",\"type\":\"客流量\",\"value\":57},{\"date\":\"18:01\",\"type\":\"支付笔数\",\"value\":12},{\"date\":\"18:31\",\"type\":\"客流量\",\"value\":86},{\"date\":\"18:31\",\"type\":\"支付笔数\",\"value\":98},{\"date\":\"19:01\",\"type\":\"客流量\",\"value\":36},{\"date\":\"19:01\",\"type\":\"支付笔数\",\"value\":45},{\"date\":\"19:31\",\"type\":\"客流量\",\"value\":102},{\"date\":\"19:31\",\"type\":\"支付笔数\",\"value\":33},{\"date\":\"20:01\",\"type\":\"客流量\",\"value\":106},{\"date\":\"20:01\",\"type\":\"支付笔数\",\"value\":102},{\"date\":\"20:31\",\"type\":\"客流量\",\"value\":95},{\"date\":\"20:31\",\"type\":\"支付笔数\",\"value\":71},{\"date\":\"21:01\",\"type\":\"客流量\",\"value\":98},{\"date\":\"21:01\",\"type\":\"支付笔数\",\"value\":25},{\"date\":\"21:31\",\"type\":\"客流量\",\"value\":95},{\"date\":\"21:31\",\"type\":\"支付笔数\",\"value\":100},{\"date\":\"22:01\",\"type\":\"客流量\",\"value\":85},{\"date\":\"22:01\",\"type\":\"支付笔数\",\"value\":79},{\"date\":\"22:31\",\"type\":\"客流量\",\"value\":82},{\"date\":\"22:31\",\"type\":\"支付笔数\",\"value\":60},{\"date\":\"23:01\",\"type\":\"客流量\",\"value\":34},{\"date\":\"23:01\",\"type\":\"支付笔数\",\"value\":103},{\"date\":\"23:31\",\"type\":\"客流量\",\"value\":77},{\"date\":\"23:31\",\"type\":\"支付笔数\",\"value\":42},{\"date\":\"00:01\",\"type\":\"客流量\",\"value\":57},{\"date\":\"00:01\",\"type\":\"支付笔数\",\"value\":68}],\"salesTypeData\":[{\"x\":\"家用电器\",\"y\":4544},{\"x\":\"食用酒水\",\"y\":3321},{\"x\":\"个护健康\",\"y\":3113},{\"x\":\"服饰箱包\",\"y\":2341},{\"x\":\"母婴产品\",\"y\":1231},{\"x\":\"其他\",\"y\":1231}],\"salesTypeDataOnline\":[{\"x\":\"家用电器\",\"y\":244},{\"x\":\"食用酒水\",\"y\":321},{\"x\":\"个护健康\",\"y\":311},{\"x\":\"服饰箱包\",\"y\":41},{\"x\":\"母婴产品\",\"y\":121},{\"x\":\"其他\",\"y\":111}],\"salesTypeDataOffline\":[{\"x\":\"家用电器\",\"y\":99},{\"x\":\"食用酒水\",\"y\":188},{\"x\":\"个护健康\",\"y\":344},{\"x\":\"服饰箱包\",\"y\":255},{\"x\":\"其他\",\"y\":65}],\"radarData\":[{\"name\":\"个人\",\"label\":\"引用\",\"value\":10},{\"name\":\"个人\",\"label\":\"口碑\",\"value\":8},{\"name\":\"个人\",\"label\":\"产量\",\"value\":4},{\"name\":\"个人\",\"label\":\"贡献\",\"value\":5},{\"name\":\"个人\",\"label\":\"热度\",\"value\":7},{\"name\":\"团队\",\"label\":\"引用\",\"value\":3},{\"name\":\"团队\",\"label\":\"口碑\",\"value\":9},{\"name\":\"团队\",\"label\":\"产量\",\"value\":6},{\"name\":\"团队\",\"label\":\"贡献\",\"value\":3},{\"name\":\"团队\",\"label\":\"热度\",\"value\":1},{\"name\":\"部门\",\"label\":\"引用\",\"value\":4},{\"name\":\"部门\",\"label\":\"口碑\",\"value\":1},{\"name\":\"部门\",\"label\":\"产量\",\"value\":6},{\"name\":\"部门\",\"label\":\"贡献\",\"value\":5},{\"name\":\"部门\",\"label\":\"热度\",\"value\":7}]}}";
  }


}
